package com.cdelink.xzgy.ftp.user.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (Records)实体类
 *
 * @author sxl
 * @since 2022-04-11 15:20:27
 */
public class Records implements Serializable {
    private static final long serialVersionUID = 848325779106206092L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 文件名
     */
    private String fileName;
    /**
     * 后缀名
     */
    private String suffixName;

    /**
     * 操作者id
     */
    private String operateId;
    /**
     * 新增 替换 删除
     */
    private String type;
    /**
     * 所在文件夹
     */
    private String folder;
    /**
     * 操作时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" , timezone="GMT+8")
    private Date createTime;
    /**
     * 文件名
     */
    private String detail;

    /**
     *操作用户名
     */
    private String name;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSuffixName() {
        return suffixName;
    }

    public void setSuffixName(String suffixName) {
        this.suffixName = suffixName;
    }

    public String getOperateId() {
        return operateId;
    }

    public void setOperateId(String operateId) {
        this.operateId = operateId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFolder() {
        return folder;
    }

    public void setFolder(String folder) {
        this.folder = folder;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
}

